<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>政工信息修改</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" />
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <script src="http://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<!--    <script src="http://cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>-->
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

    <style type="text/css">
        .body_box{
            width: 1500px;
            height: 1000px;
            margin: 0 auto;
        }
        .form-group{
            float: left;
            margin-right:30px ;
            width: 220px;
        }
        .modal-backdrop{z-index:0;}
        body.modal-open {
            position: absolute !important;
        }
        .table-bordered > tbody > tr > td
        {
            border: white 0px solid;
        }
    </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <!-- header -->
    <div th:replace="~{commons/header::header}"></div>

    <!-- left -->
    <div th:replace="~{commons/instructorLeft::left}"></div>
    <!-- 内容主体区域 -->
    <div class="layui-body">
        <form method="post" action="/update_pwd">
            新密码：<input type="password" name="userPwd" required>
            <input th:value="${session.loginInfo.getUserId()}" name="userId" type="hidden">
            <button type="submit" >提交</button>
        </form>
    </div>
</div>
<script th:src="@{/layui/layui.js}"></script>


<script>
    //JavaScript代码区域
    layui.use('layer', function(){
        var layer = layui.layer;
    });
    function validateForm()
    {
        var x=document.forms["myForm"]["courseBegin"].value;
        var y=document.forms["myForm"]["courseEnd"].value;
        console.log(x,y)
        if(!x<y){
            alert("结束时间必须大于开始时间");
            return false;
        }
    }

</script>
</body>
</html>